import { App } from "vue"

import { OteRadioGroup, OteRadio } from "./components/Radio"
import { OteCheckGroup, OteCheck } from "./components/Check"
import { OteSwitch } from "./components/Switch"

export {
    OteRadioGroup, OteRadio,
    OteCheckGroup, OteCheck,
    OteSwitch
}

export default {
    install(app: App) {
        app.component(OteRadioGroup.name as string, OteRadioGroup), app.component(OteRadio.name as string, OteRadio)
        app.component(OteCheckGroup.name as string, OteCheckGroup), app.component(OteCheck.name as string, OteCheck)
        app.component(OteSwitch.name as string, OteSwitch)
    }
}